package com.bicon.base.data.pojo.botu;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 训练动作关系表

 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("t_h_train_action")
public class THTrainAction extends Model<THTrainAction> {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 动作id
     */
    @TableField("action_id")
    private String actionId;
    /**
     * 训练id
     */
    @TableField("train_id")
    private String trainId;
    @TableField("logic_delete")
    private String logicDelete;
    @TableField("create_date")
    private Date createDate;
    @TableField("update_date")
    private Date updateDate;
    /**
     * 动作顺序
     */
    private Integer sequence;
    /**
     * 标识 （0：正常 1：最后一个视频）
     */
    private Integer state;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getActionId() {
        return actionId;
    }

    public void setActionId(String actionId) {
        this.actionId = actionId;
    }

    public String getTrainId() {
        return trainId;
    }

    public void setTrainId(String trainId) {
        this.trainId = trainId;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "THTrainAction{" +
        "id=" + id +
        ", actionId=" + actionId +
        ", trainId=" + trainId +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", sequence=" + sequence +
        ", state=" + state +
        "}";
    }
}
